﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace YJYpublicClass
{
    public interface ILightControl
    {
        bool Connection { get; }
        string Mes { get; }

        ConfigBase cf { get; set; }
        void Connect();

        void Close();

        bool IsExists();

        int[] GetValue();

        int GetValue(int chNo);

        bool SetValue(int chNo, int val);

        bool OpenChx(int chNo);
        bool CloseChx(int chNo);
        bool SetValues(int[] channelArray, int[] values);

    }

}
